//==============================================================================
// Hoplite_Anim.txt
//==============================================================================

import Greek_Sword_anim.txt

//==============================================================================
define Shield
{
	SetSelector
	{
		TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
		SetSelector
		{
			TechLogic none/Copper shields/Bronze shields/Iron shields
			set hotspot
			{
				version
				{
					Visual attachments a shields nubian
				}
			}
		}						
	}
}

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define Head
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Bronze
ReplaceTexture Infantry G Hoplite Head Bronze/Achilles Helm
         }
      }
   }
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Myrmidon_BoredA
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
					connect RightHand GreekSword hotspot
					connect LEFTFOREARM shield hotspot
					Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Myrmidon_IdleA
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
					connect RightHand GreekSword hotspot
					connect LEFTFOREARM shield hotspot
					Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}


//==============================================================================
anim run
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Myrmidon_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
				connect RightHand GreekSword hotspot
				connect LEFTFOREARM shield hotspot
				Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Walk
{
	SetSelector
	{
			set hotspot
			{
				version
				{
					Visual Infantry G Myrmidon_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
					connect RightHand GreekSword hotspot
					connect LEFTFOREARM shield hotspot
					Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
			set hotspot
			{
				version
				{
					Visual Infantry G Myrmidon_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
					connect RightHand GreekSword hotspot
					connect LEFTFOREARM shield hotspot
					Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
				}
				version
				{
					Visual Infantry G Myrmidon_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.61 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
					connect RightHand GreekSword hotspot
					connect LEFTFOREARM shield hotspot
					Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Myrmidon_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
				connect RightHand GreekSword hotspot
				connect LEFTFOREARM shield hotspot
				Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Myrmidon_FlailA
		ReplaceTexture Infantry G Myrmidon Iron/Achilles Armor
				connect RightHand GreekSword hotspot
				connect LEFTFOREARM shield hotspot
				Connect TopOfHead Head hotspot
		Connect FRONTABDOMEN heroglow hotspot
         }
      }
   }
}

//==============================================================================

anim JumpFly
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				visual villager g male_slice
					replacetexture villager g male head/Achilles Helm
					Connect TopOfHead Head hotspot
					Connect RightHand GreekSword hotspot
					Connect LeftForeArm Shield hotspot
					Connect FRONTABDOMEN heroglow hotspot
					replacetexture villager g male standard/Achilles Armor
				length 2
			}
		}
	}
}
